package cn.highedu.coolsharkhub.entity.dto;

/**
 * 轮播图数据传输对象, 添加轮播图使用, 用于接收客户端提交的轮播图数据
 */
public class BannerDTO {
    private String url;
    private Integer sort;

    public BannerDTO() {
    }

    public BannerDTO(String url, Integer sort) {
        this.url = url;
        this.sort = sort;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "BannerDTO{" +
                "url='" + url + '\'' +
                ", sort=" + sort +
                '}';
    }
}
